/**
 * @type {String}
 *
 * @properties={typeid:35,uuid:"BDB89E4C-9966-47D0-9310-220CCF67AF5F"}
 */
var fPais = null;

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"BB01B6FE-F551-4DF8-8E8F-D836FB1EB2C6"}
 */
function IraDetalle(event) {
	forms.excursiones_dtl.controller.show()
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"A2283295-4B20-4A5F-B09E-ED5096099917"}
 * @AllowToRunInFind
 */
function Buscar(event) {
	if (controller.find()== false)
	{
		globals.DIALOGS.showErrorDialog('Error','Error en la búsqueda','OK')
		return
	}
	excursio_cod_pais = fPais+'%'
	var cuantos = controller.search()
	if (cuantos == 0)
	{
		controller.loadAllRecords()
		globals.DIALOGS.showInfoDialog('Aviso','No se encontraron datos','OK')
	}
}
